package com.yc.happ.entity;

import java.io.Serializable;

public class OrderList implements Serializable{
	/*oid int(6) auto_increment primary key,
    vid int(5) not null unique,
    eid int(5) not null unique,
    otime timestamp not null,
    isFlag int(2) not null
    <td>编号</td>
	<td>匹配时间</td>
	<td>老年人</td>
	<td>电话</td>
	<td>地址</td>
	<td>志愿者</td>
	<td>电话</td>
	<td>地址</td>
	<td>服务时间</td>
	<td>开始时间</td>
	<td>结束时间</td>
	<td width="56">操作</td>*/
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -2351154951937396576L;
	private Integer oid;
	private String otime;
	private Integer eid;
	private String euname;
	private String ephone;
	private String eaddress;
	private Integer vid;
	private String vname;
	private String vphone;
	private String vaddress;
	private String vdate;
	private String vtimeStart;
	private String vtimeEnd;
	private Integer isFlag;
	
	
	public OrderList() {
		
	}
	public OrderList(Integer oid, String otime, Integer eid, String euname, String ephone, String eaddress, Integer vid,
			String vname, String vphone, String vaddress, String vdate, String vtimeStart, String vtimeEnd,
			Integer isFlag) {
		super();
		this.oid = oid;
		this.otime = otime;
		this.eid = eid;
		this.euname = euname;
		this.ephone = ephone;
		this.eaddress = eaddress;
		this.vid = vid;
		this.vname = vname;
		this.vphone = vphone;
		this.vaddress = vaddress;
		this.vdate = vdate;
		this.vtimeStart = vtimeStart;
		this.vtimeEnd = vtimeEnd;
		this.isFlag = isFlag;
	}
	public Integer getOid() {
		return oid;
	}
	public void setOid(Integer oid) {
		this.oid = oid;
	}
	public String getOtime() {
		return otime;
	}
	public void setOtime(String otime) {
		this.otime = otime;
	}
	public Integer getEid() {
		return eid;
	}
	public void setEid(Integer eid) {
		this.eid = eid;
	}
	public String getEuname() {
		return euname;
	}
	public void setEuname(String euname) {
		this.euname = euname;
	}
	public String getEphone() {
		return ephone;
	}
	public void setEphone(String ephone) {
		this.ephone = ephone;
	}
	public String getEaddress() {
		return eaddress;
	}
	public void setEaddress(String eaddress) {
		this.eaddress = eaddress;
	}
	public Integer getVid() {
		return vid;
	}
	public void setVid(Integer vid) {
		this.vid = vid;
	}
	public String getVname() {
		return vname;
	}
	public void setVname(String vname) {
		this.vname = vname;
	}
	public String getVphone() {
		return vphone;
	}
	public void setVphone(String vphone) {
		this.vphone = vphone;
	}
	public String getVaddress() {
		return vaddress;
	}
	public void setVaddress(String vaddress) {
		this.vaddress = vaddress;
	}
	public String getVdate() {
		return vdate;
	}
	public void setVdate(String vdate) {
		this.vdate = vdate;
	}
	public String getVtimeStart() {
		return vtimeStart;
	}
	public void setVtimeStart(String vtimeStart) {
		this.vtimeStart = vtimeStart;
	}
	public String getVtimeEnd() {
		return vtimeEnd;
	}
	public void setVtimeEnd(String vtimeEnd) {
		this.vtimeEnd = vtimeEnd;
	}
	public Integer getIsFlag() {
		return isFlag;
	}
	public void setIsFlag(Integer isFlag) {
		this.isFlag = isFlag;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((eaddress == null) ? 0 : eaddress.hashCode());
		result = prime * result + ((eid == null) ? 0 : eid.hashCode());
		result = prime * result + ((ephone == null) ? 0 : ephone.hashCode());
		result = prime * result + ((euname == null) ? 0 : euname.hashCode());
		result = prime * result + ((isFlag == null) ? 0 : isFlag.hashCode());
		result = prime * result + ((oid == null) ? 0 : oid.hashCode());
		result = prime * result + ((otime == null) ? 0 : otime.hashCode());
		result = prime * result + ((vaddress == null) ? 0 : vaddress.hashCode());
		result = prime * result + ((vdate == null) ? 0 : vdate.hashCode());
		result = prime * result + ((vid == null) ? 0 : vid.hashCode());
		result = prime * result + ((vname == null) ? 0 : vname.hashCode());
		result = prime * result + ((vphone == null) ? 0 : vphone.hashCode());
		result = prime * result + ((vtimeEnd == null) ? 0 : vtimeEnd.hashCode());
		result = prime * result + ((vtimeStart == null) ? 0 : vtimeStart.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		OrderList other = (OrderList) obj;
		if (eaddress == null) {
			if (other.eaddress != null)
				return false;
		} else if (!eaddress.equals(other.eaddress))
			return false;
		if (eid == null) {
			if (other.eid != null)
				return false;
		} else if (!eid.equals(other.eid))
			return false;
		if (ephone == null) {
			if (other.ephone != null)
				return false;
		} else if (!ephone.equals(other.ephone))
			return false;
		if (euname == null) {
			if (other.euname != null)
				return false;
		} else if (!euname.equals(other.euname))
			return false;
		if (isFlag == null) {
			if (other.isFlag != null)
				return false;
		} else if (!isFlag.equals(other.isFlag))
			return false;
		if (oid == null) {
			if (other.oid != null)
				return false;
		} else if (!oid.equals(other.oid))
			return false;
		if (otime == null) {
			if (other.otime != null)
				return false;
		} else if (!otime.equals(other.otime))
			return false;
		if (vaddress == null) {
			if (other.vaddress != null)
				return false;
		} else if (!vaddress.equals(other.vaddress))
			return false;
		if (vdate == null) {
			if (other.vdate != null)
				return false;
		} else if (!vdate.equals(other.vdate))
			return false;
		if (vid == null) {
			if (other.vid != null)
				return false;
		} else if (!vid.equals(other.vid))
			return false;
		if (vname == null) {
			if (other.vname != null)
				return false;
		} else if (!vname.equals(other.vname))
			return false;
		if (vphone == null) {
			if (other.vphone != null)
				return false;
		} else if (!vphone.equals(other.vphone))
			return false;
		if (vtimeEnd == null) {
			if (other.vtimeEnd != null)
				return false;
		} else if (!vtimeEnd.equals(other.vtimeEnd))
			return false;
		if (vtimeStart == null) {
			if (other.vtimeStart != null)
				return false;
		} else if (!vtimeStart.equals(other.vtimeStart))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "OrderList [oid=" + oid + ", otime=" + otime + ", eid=" + eid + ", euname=" + euname + ", ephone="
				+ ephone + ", eaddress=" + eaddress + ", vid=" + vid + ", vname=" + vname + ", vphone=" + vphone
				+ ", vaddress=" + vaddress + ", vdate=" + vdate + ", vtimeStart=" + vtimeStart + ", vtimeEnd="
				+ vtimeEnd + ", isFlag=" + isFlag + "]";
	}
	
	
	
	
}
